package com.example.ceramics.database.dao;

import com.example.ceramics.entity.CartEntity;
import com.example.ceramics.entity.GoodsEntity;
import com.example.ceramics.entity.OrderEntity;

import java.util.List;

public interface IOrderDao {
    int addOrder(int goodsId,String account,double goodsPrice);
    int addOrder(List<CartEntity> cartList);
    int deleteOrder(int id);
    boolean hasOrder(int id);
    List<OrderEntity> getOrderList(String account);
}
